﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Model
{
    /// <summary>
    /// 加料基础表
    /// </summary>
    public partial class corecmsfoodfeed
    {
        /// <summary>
        /// 序列
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
        public Int64 id { get; set; }

        /// <summary>
        /// 品牌id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "corpId", IsNullable = false)]
        public Int32? corpId { get; set; }

        /// <summary>
        /// 门店id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "storeId", IsNullable = false)]
        public Int64? storeId { get; set; }

        /// <summary>
        /// 加料分组id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "feedTypeId", IsNullable = true)]
        public Int64 feedTypeId { get; set; }

        /// <summary>
        /// 加料名称
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "name", IsNullable = false)]
        public String name { get; set; }

        /// <summary>
        /// 加料价格
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "price")]
        public Decimal price { get; set; }

        /// <summary>
        /// 预估成本
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "purPrice")]
        public Decimal? purPrice { get; set; }

        /// <summary>
        /// 是否与分类一致
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "departAsType", IsNullable = true)]
        public Int32? departAsType { get; set; }

        /// <summary>
        /// 出品部门id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "departId", IsNullable = true)]
        public Int64? departId { get; set; }

        /// <summary>
        /// 数字助记码
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "helpCode", IsNullable = false)]
        public String helpCode { get; set; }

        /// <summary>
        /// 拼音助记码
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "pinYin", IsNullable = false)]
        public String pinYin { get; set; }

        /// <summary>
        /// 保质期
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "warrantyDate", IsNullable = true)]
        public Int32? warrantyDate { get; set; }

        /// <summary>
        /// 保质期单位ID
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "warrantyType", IsNullable = true)]
        public Int32? warrantyType { get; set; }

        /// <summary>
        /// 条形码
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "code", IsNullable = true)]
        public String code { get; set; }

        /// <summary>
        /// 是否需要打印
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "isPrint", IsNullable = false)]
        public bool? isPrint { get; set; }

        /// <summary>
        /// 收银端是否允许改价
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "changePrice", IsNullable = false)]
        public bool? changePrice { get; set; }

        /// <summary>
        /// 收银端是否允许打折
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "discounts", IsNullable = false)]
        public bool? discounts { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "status", IsNullable = true)]
        public Int32? status { get; set; }

        /// <summary>
        /// 图片
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "image", IsNullable = true)]
        public String image { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "isDelete", IsNullable = false)]
        public bool? isDelete { get; set; }


        /// <summary>
        /// 是否通用
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "currencyFlag", IsNullable = true)]
        public System.Int32? currencyFlag { get; set; }


        /// <summary>
        /// 创建时间
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "createTime", IsNullable = false)]
        public DateTime? createTime { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "updateTime", IsNullable = true)]
        public DateTime? updateTime { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "modifyTime", IsNullable = true)]
        public Int64? modifyTime { get; set; }
    }
}
